package com.ruoyi.project.jiaqin.newscommentlikers.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户新闻评论点赞对象 news_comment_likers
 *
 * @author LCL
 * @date 2021-11-09
 */
public class NewsCommentLikers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 评论ID */
    @Excel(name = "评论ID")
    private String newsCommentId;

    /** 点赞用户ID */
    @Excel(name = "点赞用户ID")
    private String memberId;

    /** 被点赞用户ID */
    @Excel(name = "被点赞用户ID")
    private String toMemberId;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改时间 */
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setNewsCommentId(String newsCommentId)
    {
        this.newsCommentId = newsCommentId;
    }

    public String getNewsCommentId()
    {
        return newsCommentId;
    }
    public void setMemberId(String memberId)
    {
        this.memberId = memberId;
    }

    public String getMemberId()
    {
        return memberId;
    }
    public void setToMemberId(String toMemberId)
    {
        this.toMemberId = toMemberId;
    }

    public String getToMemberId()
    {
        return toMemberId;
    }
    public void setCreateAt(Date createAt)
    {
        this.createAt = createAt;
    }

    public Date getCreateAt()
    {
        return createAt;
    }
    public void setUpdateAt(Date updateAt)
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt()
    {
        return updateAt;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("newsCommentId", getNewsCommentId())
            .append("memberId", getMemberId())
            .append("toMemberId", getToMemberId())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .append("type", getType())
            .append("status", getStatus())
            .toString();
    }
}
